package com.achen.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author achen
 * @create 2021-06-28 23:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Result implements Serializable {

    private Integer code;
    private Object data;
    private String msg;

    public Result(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
